package com.renli;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
@Slf4j
@EnableCaching
public class RenliManageManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(RenliManageManagerApplication.class, args);
        log.info("管理端启动成功");
    }
    // 获得两个时间之间的相差值  Duration dur= Duration.between(LocalDateTime startTime,  LocalDateTime  endTime );

//两个时间差的分钟数dur.toMinutes()

//纳秒 dur.toNanos()

//毫秒dur.toMillis()

//分钟dur.toMinutes()

//小时dur.toHours()

//天数 dur.toDays()



}
